package com.sright.bcard.content.dal.dao.impl;

import com.sright.bcard.common.service.share.base.dao.BaseDAOImpl;
import com.sright.bcard.common.service.share.base.dao.BaseMapper;
import com.sright.bcard.content.dal.dao.ContentCheckRecordDAO;
import com.sright.bcard.content.dal.entity.ContentCheckRecordDO;
import com.sright.bcard.content.dal.mapper.ContentCheckRecordDOMapper;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;

@Repository
public class ContentCheckRecordDAOImpl extends BaseDAOImpl<ContentCheckRecordDO> implements ContentCheckRecordDAO {

    @Resource
    private ContentCheckRecordDOMapper contentCheckRecordDOMapper;

    @Override
    protected BaseMapper<ContentCheckRecordDO> getObjMapper() {
        return contentCheckRecordDOMapper;
    }

    @Override
    public ContentCheckRecordDO selectByTaskId(String taskId) {
        return contentCheckRecordDOMapper.selectByTaskId(taskId);
    }
}
